﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public class Rosaceous : Flower
    {
        private RoseSize _budSize;

        public Rosaceous() { }

        public Rosaceous(string name, int price, FlowerColor color, RoseSize budSize)
            : base(name, price, color)
        {
            _budSize = budSize;
        }

        public RoseSize BudSize
        {
            get { return _budSize; }
            set { _budSize = value; }
        }

        public override string ToString()
        {
            return base.ToString() + " размер бутона:" + _budSize;
        }
    }
}
